SpiralDrillShapePattern Pitch
Gets or Sets the pitch of the spiral drill shape. The pitch is defined as the distance between two revolutions of the spiral.
public float Pitch {get;Set} |
Return value
float | pitch of the spiral |
Example
Copy
SpiralDrillShapePattern spiralDrilPat = new SpiralDrillShapePattern();
spiralDrilPat.Clockwise = true;
spiralDrilPat.Angle = 0;
spiralDrilPat.InnerRadius = 5;
spiralDrilPat.InnerRotations = 2;
spiralDrilPat.OuterRadius = 10;
spiralDrilPat.OuterRotations = 2;
spiralDrilPat.Outwards = false;
spiralDrilPat.Pitch = 1;
spiralDrilPat.ReturnToStart = false;
//Create a drill shape.
DrillShape drillShape = new DrillShape();
drillShape.SetPattern(spiralDrilPat);